﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Placard_Add.aspx.cs" Inherits="Admin_Placard_Add" %>

<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>添加公告</title>
    <script language="javascript" src="js/calendar.js" type="text/javascript"></script>
    <style type="text/css">
        .styleBk
        {
            background-color: #F3F8F7;
        }
        .style1
        {
            background-color: #F3F8F7;
            color: #73938E;
            font-weight: bold;
            line-height: 20px;
            text-align: left;
            width: 130px;
            align:left;
        }
        .style2
        {
            background-color: #fff;
            color: #73938E;
            font-weight: bold;
            line-height: 20px;
          
            align:left;
        } 
        #tblPlacard
        {
            background-color: #888888;
            width:98%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="overflow:scroll">
 
    <table id="tblPlacard"  align="left"  cellpadding="1" border="0" cellspacing="1" class="table_style">
    <tr>
        <td colspan="4" align="center" class="styleBk">
            <asp:Button ID="Button1" runat="server" Text="保　　存" OnClick="Button1_Click" /> &nbsp; &nbsp;
            <input type="button" value="返回列表" onclick="window.location='placard.aspx';" />
        </td>
    </tr>
    <tr>
      <td class="style1"> 标题：</td>
      <td class="style2" colspan="3" > 
          <asp:TextBox ID="txtTitle" runat="server" Width="607px"></asp:TextBox>    
      </td>
 
    </tr>
    <tr>
      <td class="style1"> 类型：</td>
      <td class="style2" style="width: 140px">
          <asp:DropDownList ID="ddlType" runat="server" Width="129px">
              <asp:ListItem Value="0">来自编辑内容</asp:ListItem>
              <asp:ListItem Value="1">来自外部链接</asp:ListItem>
          </asp:DropDownList>
      </td>
      <td class="style1">外部链接地址：</td> 
      <td class="style2">
          <asp:TextBox ID="txtURL" runat="server" Width="403px"></asp:TextBox>
      </td>
    </tr>
    <tr>
        <td class="style1"> 创建日期：</td>
        <td class="style2">
            <asp:TextBox ID="txtTime" runat="server" Width="96px" ReadOnly="True"></asp:TextBox></td>
        <td class="style1"> 有效日期：</td>
        <td class="style2">
            <asp:TextBox ID="txtExpiryTime" runat="server" Width="97px" onfocus="calendar()"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td colspan="4" class="style1"> 内容： <div style="display:none"><asp:TextBox ID="txtID" runat="server"></asp:TextBox></div><br />

        
        </td>
    </tr>
    <tr>
        <td colspan="4" class="styleBk">
                        <CE:Editor ID="edit_content" runat="server" AutoConfigure="Simple" CodeViewTemplateItemList="Cut,Copy,Paste,Find"
                Height="722px" Width="900px">
            </CE:Editor>
        </td>
    </tr>
    
    </table>
    </div>
    </form>
</body>
</html>
